package com.poetize.plus.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.poetize.plus.utils.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author zuosy
 * @created 2024/4/10 11:22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class BackgroundImage extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 上传路径
     */
    private String path;

    /**
     * 文件名称
     */
    private String filename;

    /**
     * 文件类型
     */
    private String mimeType;
}
